// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from "./store";
import Element from 'element-ui'
import mock from './mock/index';
import i18n from "./i18n/i18n"
import scroll from 'vue-seamless-scroll'//轮播滚动

import './router/permission'
import 'element-ui/lib/theme-chalk/index.css'//element-ui样式
import 'font-awesome/css/font-awesome.min.css'//fa图标库样式
import 'nprogress/nprogress.css'//进度条样式

Vue.use(Element).use(mock).use(scroll);
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  i18n,
  components: { App },
  template: '<App/>'
})
